package me.zhengjie.modules.insurance.pojo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 匹配用户站点请求
 *
 * @author HeHui
 * @date 2022-01-03 15:52
 */
@Data
public class MatchingSiteRequest implements Serializable {
    private static final long serialVersionUID = -7251611181819829981L;

    /**
     * 用户名
     */
    //@NotBlank(message = "请输入骑手名称")
    private String userName;

    /**
     * 用户身份证
     */
    @NotBlank(message = "请输入骑手身份证")
    private String userIdCard;

    //@NotNull(message = "请选择出险时间")
    private Date accidentDate;
}
